import { ColorPanel } from '../common/color-pannel';
import { insertAfter, createElement } from '../../../utils/dom-helper';
import './fill-color.less';
export class FillColor extends ColorPanel {
    public createEles() {
        super.createEles();
        let brotherEle = this.container.querySelector('.past-group') as HTMLElement;
        let ele = createElement('div', 'no-fill');
        ele.innerHTML = `
        <i class="box"></i>
        <div class="desc">无填充色</div>
        `;
        insertAfter(ele, brotherEle);
        ele.addEventListener('click', () => {
            this.trigger.apply(this.parentSub, null);
        });
    }
}